#-------------------------------------------------
#
# Project created by QtCreator 2016-12-02T22:39:42
#
#-------------------------------------------------

#DEFINES  += D_USE_ROS

QT       += xml
QT += multimedia serialport network
TARGET = LogicalInstruction
TEMPLATE = lib

DEFINES += LOGICALINSTRUCTION_LIBRARY
CONFIG += staticlib



INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD


HEADERS += \
    ifinstructionlogic.h \
    waitinstructionlogic.h \
    gotoinstructionlogic.h \
    jumpinstructionlogic.h \
    reginstructionlogic.h \
    ioinstructionlogic.h \
    labelinstructionlogic.h \
    runinstructionlogic.h \
    callinstructionlogic.h \
    selectinstructionlogic.h \
    forinstructionlogic.h \
    palinstructionlogic.h \
    coordinateinstructionlogic.h \
    errorinstructionlogic.h \
    motioninstructionlogic.h \
    pauseinstructionlogic.h \
    abortinstructionlogic.h \
    endinstructionlogic.h \
    ualminstructionlogic.h \
    messageinstructionlogic.h \
    overrideinstructionlogic.h \
    timerinstructionlogic.h \
    rsrinstructionlogic.h \
    gripperinstructionlogic.h \
    tcpstartinstructionlogic.h \
    tcpreadinstructionlogic.h \
    tcpwriteinstructionlogic.h \
    modbusstartinstructionlogic.h \
    modbusreadinstructionlogic.h \
    modbuswriteinstructionlogic.h \
    visionrunlogic.h \
    trackstartlogic.h \
    gcodeparse.h

SOURCES += \
    ifinstructionlogic.cpp \
    waitinstructionlogic.cpp \
    gotoinstructionlogic.cpp \
    jumpinstructionlogic.cpp \
    reginstructionlogic.cpp \
    ioinstructionlogic.cpp \
    labelinstructionlogic.cpp \
    runinstructionlogic.cpp \
    callinstructionlogic.cpp \
    selectinstructionlogic.cpp \
    forinstructionlogic.cpp \
    palinstructionlogic.cpp \
    coordinateinstructionlogic.cpp \
    errorinstructionlogic.cpp \
    motioninstructionlogic.cpp \
    pauseinstructionlogic.cpp \
    abortinstructionlogic.cpp \
    endinstructionlogic.cpp \
    ualminstructionlogic.cpp \
    messageinstructionlogic.cpp \
    overrideinstructionlogic.cpp \
    timerinstructionlogic.cpp \
    rsrinstructionlogic.cpp \
    gripperinstructionlogic.cpp \
    tcpstartinstructionlogic.cpp \
    tcpreadinstructionlogic.cpp \
    tcpwriteinstructionlogic.cpp \
    modbusstartinstructionlogic.cpp \
    modbusreadinstructionlogic.cpp \
    modbuswriteinstructionlogic.cpp \
    visionrunlogic.cpp \
    trackstartlogic.cpp \
    gcodeparse.cpp


INCLUDEPATH += ../PalletCalculate
INCLUDEPATH += ../AxisObject
INCLUDEPATH +=../ModbusService
INCLUDEPATH +=../ProgramSet
INCLUDEPATH +=../ProgramEngine
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += ../../include/
INCLUDEPATH += ../../include/actions/INC
INCLUDEPATH += ../../include/actions/INC/Linux
INCLUDEPATH += ../../include/ethercat-igh
INCLUDEPATH += /usr/local/include/modbus/

INCLUDEPATH +=../EcatCore
INCLUDEPATH +=../DomParser
INCLUDEPATH +=../Md5Check
INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH +=../PointData
INCLUDEPATH +=../MessageLog
INCLUDEPATH += ../TcpManager
INCLUDEPATH +=../RegData
INCLUDEPATH +=../CoordinateModule/
INCLUDEPATH +=../AxisObject/
INCLUDEPATH +=../MotionServer
INCLUDEPATH += ../GlobalManager
INCLUDEPATH += ../RobotiqTool
INCLUDEPATH += ../PowerManager
INCLUDEPATH +=../McControllerInterpreter
INCLUDEPATH +=../../../ModbusService


＃DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =../../lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =../../lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
